package com.aacar.dao.impl;

import org.springframework.stereotype.Component;

import com.aacar.dao.WasherDao;
import com.aacar.dao.base.CommonBaseDao;
import com.aacar.entity.Washer;
import com.aacar.vo.wash.WasherVo;

import java.util.List;

@Component("washerDao")
public class WasherDaoImpl extends CommonBaseDao implements WasherDao {
	
	private static final String nameSpace = "com.aacar.dao.WasherDao.";
	
	public WasherVo getWashUserInfo(Washer washer) {
		return super.getSqlSession().selectOne(nameSpace+"getWashUserInfo", washer);
	}

	@Override
	public List<WasherVo> getWashUserList(Washer washer) {
		return super.getSqlSession().selectList(nameSpace+"getWashUserList", washer);
	}

}
